<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
 <head>
<title>mozdev.org - converter: feedback/welcome</title>
   <link href="http://converter.mozdev.org/converter.css" rel="Stylesheet" title="today&#8217;s style" type="text/css">
   <link media="print" rel="Stylesheet" type="text/css" href="http://www.mozdev.org/skin/dft2003/print.css">
   <link rel="alternate" type="application/rss+xml" title="VCS Commits" href="/feed/vcslog">
   <link rel="alternate" type="application/rss+xml" title="Download files" href="/feed/download_file">
<link rel="stylesheet" href="/project.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta content="text/css" http-equiv="Content-Style-Type">
<link rel="icon" href="http://converter.mozdev.org/favicon.bmp">
<script src="http://www.google-analytics.com/urchin.js"
type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-664808-1";
urchinTracker();
</script>
</head>
<body class="converter converter-feedback-welcome" id="converter-mozdev-org">
	<!-- ################### BEGIN TOP ################## -->
	<h1 id="mozdev-logo"><a accesskey="0" href="http://www.mozdev.org/" tabindex="1" title="mozdev.org">mozdev.org</a></h1>
	<div id="mozdev-date">
		<!--$mind-it-ignore$-->
		<ul id="community-links">
			<li class="mozdev-date">Sonntag Oktober 26. 2008</li>
			<li class="mozdev-fries">Land der Berge, Land am Strome, &#133;</li>
		</ul>
		<!--$/mind-it-ignore$-->
	</div>
<!-- ####################### BEGIN MAIN CONTENT ########################## -->
<div id="main-content-no-nav">
<h1 class="project-name" id="content">Converter</h1>

<table id="project-navigation">

<!--
  <tbody id="sub-projects" class="project-navigations">
  <tr>
  <th scope="row">subprojects:</th>
  <td class="navigation-list">  
  <a class="first-item" href="/subprojectdir/index.html">subproject name</a>
  <a href="/subprojectpage.html">subproject name</a>
  </td>
  </tr>
  </tbody>
-->

  <tbody id="resources" class="project-navigations">
  <tr>
  <th scope="row">resources:</th>
  <td class="navigation-list">
  <a class="first-item" href="/index.html">Home</a>
  <a href="/installation.html">Installation</a>
  <a href="/feedback.html">Feedback</a>
  <a href="/list.html">Mailing List</a>
  <a href="/examples.html">Examples</a>
  <a href="/source.html">Source Code</a>
  <a href="/members.html">Members</a>
<!--  <a href="/bugs.html">Bugs</a>  -->
<!--  <a href="/screenshots.html">Screenshots</a> -->
  </td>
  </tr>
  </tbody>
</table>
<style type="text/css">
  dt.CONVERTER-method {
    font-weight: bold;
    font-size: 10pt;
    font-variant: small-caps;
    padding:10px 0px 5px 0px
  }
</style>
<!-- ***************** INFO/NEWS *************** -->

<!-- MAIN CONTENT -->
<br>

<table align='right' cellpadding='5' cellspacing='0' border='0'>
<tr><td><img src='../converter_screenshot.png'></td></tr>
<tr><td><img src='../converter_screenshot_entire.png'></td></tr>
</table>
<h1>How the Converter works</h1>
<p>The operation is as simple as possible, and it works in two distinct ways:</p>
<dl>
  <dt class='CONVERTER-method'>Single conversion on selection</dt>
  <dd>Select a piece of text containing a measurement and right click: the converted value will be shown in the resulting popup menu. Try it now: select "0.1 in" and right click&mdash;you should get an entry in the resulting popup identical to the one in the screenshot to the right.</dd>

  <dt class='CONVERTER-method'>Page conversion</dt>
  <dd>Make sure you do <b>not</b> have any selection at all, right click to show the popup menu, and click on "Convert the entire page"&mdash;all measurements found by the converter in the page are converted like so: from "1 ounce" to "1 ounce (1 oz = 28.3 g)". While using a little more space than strictly necessary, the fact that the original value is shown in the brackets tells you what the converter "understood" from the text in the page&mdash;this is helpful on one hand to confirm you that the converted value makes sense in the context, and on the other it allows you to identify potential problems with the current version, which you are encouraged to report in order to enhance this extension.</dd>
</dl>
<hr>
<script language='JavaScript'>
function switchFeedback()
{
  showHide('feedback_small');
  showHide('feedback_full');
  return false;
}

function showHide(id)
{
  el = document.getElementById(id);
  if (el.style.display == 'none')
  {
    el.style.display = '';
  } else {
    el.style.display = 'none';
  }
}
</script>
<table id='feedback_small' style='border:2px; margin-top:5px; margin-left:20px; margin-right:20px;margin-bottom:10px; border-color:#c0c0c0; border-style:solid; background-color:#f6f6f6'>
<tr>
  <td>Feedback? <small><a onClick="return switchFeedback();" href=''>[+]</a></small></td>
</tr>
</table>
<table id='feedback_full' style='border:2px; margin-left:20px; margin-right:20px;margin-bottom:10px; border-color:#c0c0c0; border-style:solid; background-color:#f6f6f6; display:none'>
<tr>
  <td><b>Feedback!</b> <small><a onClick="return switchFeedback();" href=''>[-]</a></small></td>
</tr>
<tr>
  <td>
    <iframe src="http://bogdan.stancescu.ro/personal_projects/converter/feedback.php" width="610" height="355" border=0>
    What browser are you using, anyway? I mean, seriously, consider upgrading to
    Firefox if you're checking out Firefox extensions! :-)
    </iframe>
  </td>
</tr>
</table>
<style type="text/css">
  table.version {
    border: 1px solid #a0a0a0;
    padding: 0px;
    background: #eeeeee;
  }
  thead.version {
    padding: 3px;
    border: 0px;
    font-weight: bold;
  }
  tbody.version {
    border: 0px;
  }
  tr.version {
    padding: inherit;
    border: inherit;
  }
  td.head1 {
    background: #333333;
    color: #eeeeee;
    padding: 3pt;
    border: inherit;
    text-align: center;
  }
  td.head2 {
    background: #555555;
    color: #f5f5f5;
    padding: 3pt;
    border: inherit;
    text-align: center;
  }
  td.type_odd {
    background: #e0e0e0;
    padding: inherit;
    border: inherit;
    font-style: italic;
    text-align: center;
  }
  td.feature_odd {
    background: #f6f6f6;
    padding: 3pt;
    border: inherit;
  }
  td.example_odd {
    background: #e0e0e0;
    padding: 3pt;
    border: inherit;
    
  }
  td.comment_odd {
    background: #f6f6f6;
    padding: 3pt;
    border: inherit;
    font-size: 10pt;
  }
  td.type_even {
    background: #b0b0b0;
    padding: 3pt;
    border: inherit;
    font-style: italic;
    text-align: center;
  }
  td.feature_even {
    background: #cfcfcf;
    padding: 3pt;
    border: inherit;
  }
  td.example_even {
    background: #b0b0b0;
    padding: 3pt;
    border: inherit;
  }
  td.comment_even {
    background: #cfcfcf;
    padding: 3pt;
    border: inherit;
    font-size: 10pt;
  }


  td.type_odd_imp {
    background: #f0e0e0;
    padding: inherit;
    border: inherit;
    font-style: italic;
    text-align: center;
  }
  td.feature_odd_imp {
    background: #fff6f6;
    padding: 3pt;
    border: inherit;
  }
  td.example_odd_imp {
    background: #f0e0e0;
    padding: 3pt;
    border: inherit;

  }
  td.comment_odd_imp {
    background: #fff6f6;
    padding: 3pt;
    border: inherit;
    font-size: 10pt;
  }
  td.type_even_imp {
    background: #f0b0b0;
    padding: 3pt;
    border: inherit;
    font-style: italic;
    text-align: center;
  }
  td.feature_even_imp {
    background: #ffcfcf;
    padding: 3pt;
    border: inherit;
  }
  td.example_even_imp {
    background: #f0b0b0;
    padding: 3pt;
    border: inherit;
  }
  td.comment_even_imp {
    background: #ffcfcf;
    padding: 3pt;
    border: inherit;
    font-size: 10pt;
  }
</style>
<br>
<table style='margin-left:auto; margin-right:auto'>
<tr style='padding:0px'>
  <td style='text-align:right; padding:0px; margin:0px'>
    <a href='http://www.totaltour.ro/en/language' title='Accommodation Romania'><img src='http://static.totaltour.ro/banners/ad_002.png' style='border:0px'></a>
  </td>
</tr>
<tr>
  <td style='text-align:right; font-size:7pt; padding:0px'>TotalTour.ro is Converter's official sponsor</td>
</tr>
</table>
<br>

<h1>Features report</h1>
<p>
<b>Important features you should be aware of are highlighted with a red
background</b> (well, pink actually, in order to keep the text readable).
</p>
<p>Also see the <a href='/roadmap.html'>roadmap</a> page.</p>
<p>
<b><u>DO NOT</u></b> convert this page until you've read what you're interested in&mdash;many
of the explanations will be messed up and they will become very difficult to follow!</p>

<h1>New features in Converter 0.7.1</h1>
<p>This release features minor bug fixes, although a known bug still persists.</p>

<table class='version'>
<thead class='version'>
<tr>
  <td class='head1'>Type</td>
  <td class='head2'>Feature</td>
  <td class='head1'>Example</td>
  <td class='head2'>Comment</td>
</td>
</thead>
<tbody class='version'>
<tr>
  <td class='type_odd'>bug fix</td>
  <td class='feature_odd'>proper date/time format parsing</td>
  <td class='example_odd'>January 3, 2008, 09:19 AM</td>
  <td class='comment_odd'>This was previously being converted to absurd values; currently it is being ignored, as it should be (there's nothing to convert). Unfortunately there still is a date/time format being improperly converted (e.g. January 3, 2008, 09:19 AM GMT), but that requires a significant rewrite and I didn't get a chance to do that yet.</td>
</tr>
</tbody>
</table>
<br />

<h1>New features in Converter 0.7.0</h1>
<p>This release brings significant stability improvements, several bug
fixes and one new conversion.</p>
<table class='version'>
<thead class='version'>
<tr>
  <td class='head1'>Type</td>
  <td class='head2'>Feature</td>
  <td class='head1'>Example</td>
  <td class='head2'>Comment</td>
</td>
</thead>
<tbody class='version'>
<!--
# Templates
<tr>
  <td class='type_odd'></td>
  <td class='feature_odd'></td>
  <td class='example_odd'></td>
  <td class='comment_odd'></td>
</tr>
<tr>
  <td class='type_even'></td>
  <td class='feature_even'></td>
  <td class='example_even'></td>
  <td class='comment_even'></td>
</tr>
-->
<tr>
  <td class='type_odd'>capability</td>
  <td class='feature_odd'>Nm --&gt; ft-lb and in-lb</td>
  <td class='example_odd'>44 Nm</td>
  <td class='comment_odd'>Thanks to <a href='/index.html#c40'><b>Dave</b></a> for suggesting this!</td>
</tr>
<tr>
  <td class='type_even'>bug fix</td>
  <td class='feature_even'>10 cm = 0'3-30/32</td>
  <td class='example_even'>10 cm</td>
  <td class='comment_even'>Thanks to <a href='/index.html#c44'><b>chc</b></a> for reporting a problem with fractional representation of Imperial values.</td>
</tr>
<tr>
  <td class='type_odd'>capability</td>
  <td class='feature_odd'>regression testing</td>
  <td class='example_odd'><a href='/regression_tests.php'>test page</a></td>
  <td class='comment_odd'>This is something I've been planning to do for a long time, and never got around to doing it. The page linked to in the previous column is automatically recognized as a regression test page by the code, and it basically tests itself against that set of predefined situations. That should help me avoid a lot of bugs in the future.</td>
</tr>
<tr>
  <td class='type_even'>capability</td>
  <td class='feature_even'>smarter unit matching</td>
  <td class='example_even'>n/a</td>
  <td class='comment_even'>The algorithm which picks out measurements to be tested from the context or the page has been improved; this should avoid all sorts of potential problems in more awkward situations.</td>
</tr>
<tr>
  <td class='type_odd'>minor improvement</td>
  <td class='feature_odd'>not converting HTML comments</td>
  <td class='example_odd'>n/a</td>
  <td class='comment_odd'>Previous versions of the code were parsing through HTML comments as well; that behaviour has been suppressed for a marginal improvement in processing speed.</td>
</tr>
<tr>
  <td class='type_even'>improvement</td>
  <td class='feature_even'>fixed contextual conversion for miles per gallon</td>
  <td class='example_even'>10 mpg</td>
  <td class='comment_even'>Converting the value in this example in contextual mode (in the popup menu) used to result in an ugly line with some "undefined" values. That has been fixed.</td>
</tr>
<tr>
  <td class='type_odd'>minor bug fix</td>
  <td class='feature_odd'>infrequent format fixed</td>
  <td class='example_odd'>disabling "Converter 0.6.2" stops FF from freezing</td>
  <td class='comment_odd'>That's part of robaal's report of the problem which has been fixed in version 0.6.3. Converting that example in versions previous to 0.7.0 used to result in "062 inches" being converted. The new engine recognizes that's not a number, and doesn't convert it.</td>
</tr>
</tbody>
</table>
<br />

<h1>New features in Converter 0.6.5</h1>
<p>This version features one relatively minor improvement.</p>
<table class='version'>
<thead class='version'>
<tr>
  <td class='head1'>Type</td>
  <td class='head2'>Feature</td>
  <td class='head1'>Example</td>
  <td class='head2'>Comment</td>
</td>
</thead>
<tbody class='version'>
<tr>
  <td class='type_odd'>capability</td>
  <td class='feature_odd'>the military time format is now supported</td>
  <td class='example_odd'>
    <ul>
    <li>0100 GMT</li>
    <li>2200 PST</li>
    </ul>
  </td>
  <td class='comment_odd'>The military time format seems to be more widely used than I originally assumed -- now the Converter supports it.</td>
</tr>
</tbody>
</table>
<br />

<h1>New features in Converter 0.6.4</h1>
<p>This version features one bug fix and partial support for superscript notation.</p>

<table class='version'>
<thead class='version'>
<tr>
  <td class='head1'>Type</td>
  <td class='head2'>Feature</td>
  <td class='head1'>Example</td>
  <td class='head2'>Comment</td>
</td>
</thead>
<tbody class='version'>
<tr>
  <td class='type_odd'>bug fix</td>
  <td class='feature_odd'>numbers formatted with multiple periods are supported again</td>
  <td class='example_odd'>
    <ul>
    <li>1.000.000 mm</li>
    <li>1.000,3 cm</li>
    </ul>
  </td>
  <td class='comment_odd'>This bug has been reported by <b>Mr. Stoltz</b>. Trying to convert the string in the example produced unexpected results in version 0.6.3. That problem has been fixed (try selecting the text in the example and right-clicking). The problem was caused by the implementation of the bug fix in version 0.6.3.</td>
</tr>
<tr>
  <td class='type_even'>capability</td>
  <td class='feature_even'>limited support for the &lt;sup&gt; (superscript) tag</td>
  <td class='example_even'>
    <ul>
    <li>10 m<sup>2</sup></li>
    <li>10 in<sup>3</sup></li>
    </ul>
  </td>
  <td class='comment_even'>
    The measurements in the examples are written using a different notation in HTML then what the Converter supported so far (they are using the &lt;sup&gt; tag: 10 m&lt;sup&gt;2&lt;/sup&gt;, 10 in&lt;sup&gt;3&lt;/sup&gt;).

    The support for this format is limited in two ways:
    <ol>
    <li>The conversion only works when converting the entire page (i.e. it doesn't work via selection);</li>
    <li>
      The page content is actually changed when converting (notice how the original text is changed to "10 m^2", and "10 in^3" respectively). This is not elegant, but I find it an acceptable compromise, given that the conversion works this way. If you find any inconvenience in this compromise, please give me some feedback on the topic and I'll implement a preference to disable it.
    </li>
    </ol>
  </td>
</tr>
<tr>
  <td class='type_odd'>minor improvement</td>
  <td class='feature_odd'>cubic cm and in are better supported and shown nicer</td>
  <td class='example_odd'>
    <ul>
    <li>10 cm&sup3;</li>
    <li>10 in&sup3;</li>
    </ul>
  </td>
  <td class='comment_odd'>This really is just a minor technical thing -- the previously unsupported <i>unit&amp;sup3;</i> format is now supported, and instead of being shown as <i>unit^3</i> in the converted format, it's now shown as <i>unit&sup3;</i>.</td>
</tr>
</tbody>
</table>
<br />


<h1>New features in Converter 0.6.3</h1>
<p>This version only features one bug fix.</p>

<table class='version'>
<thead class='version'>
<tr>
  <td class='head1'>Type</td>
  <td class='head2'>Feature</td>
  <td class='head1'>Example</td>
  <td class='head2'>Comment</td>
</td>
</thead>
<tbody class='version'>
<tr>
  <td class='type_odd'>bug fix</td>
  <td class='feature_odd'>long strings of numbers don't freeze the browser</td>
  <td class='example_odd'>1234567890123456789012</td>
  <td class='comment_odd'>This bug has been <a href='http://converter.mozdev.org/index.html#c32'>reported</a> by <b>robaal</b> the same day as this release. Trying to convert the string in the example took an unreasonable amount of time (several seconds on my Athlon 3000+), during which Firefox was completely frozen. That problem has been fixed (try selecting the text in the example and right-clicking).</td>
</tr>
</tbody>
</table>
<br />

<h1>New features in Converter 0.6.2</h1>
<p>This version only features a couple of new conversions, mostly related to the
automotive industry.</p>

<table class='version'>
<thead class='version'>
<tr>
  <td class='head1'>Type</td>
  <td class='head2'>Feature</td>
  <td class='head1'>Example</td>
  <td class='head2'>Comment</td>
</td>
</thead>
<tbody class='version'>
<tr>
  <td class='type_odd'>capability</td>
  <td class='feature_odd'>cm<sup>3</sup>&lt;--&gt;in<sup>3</sup></td>
  <td class='example_odd'>
    <ul>
      <li>1800 cc</li>
      <li>260 cu in</li>
    </ul>
  </td>
  <td class='comment_odd'_imp>
    Cubic centimeters are now converted to cubic inches -- and vice-versa.
  </td>
</tr>
<tr>
  <td class='type_even'>capability</td>
  <td class='feature_even'>mph --&gt; L/100 km</td>
  <td class='example_even'>
    10 mpg
  </td>
  <td class='comment_even'>
    Miles per gallon (both US and Imperial) are now converted to liters per 100 km.
    Unfortunately the reverse is not true, beacause "L/100 km" might mess up the constraints
    already in place for units of measurement; to be perfectly honest though, I haven't
    tested this assumption -- it might work after all. Promise: will check it out if you
    guys need it (but do let me know if you do).
  </td>
</tr>
</tbody>
</table>
<br />

<p>Older feature reports can be found <a href='/old_features_report.html'>here</a>.</p>
    </div>
<table border=0 width=100%>
<tr>
  <td colspan=2 style='text-align:right; padding-right:20px'>
    <b><a href='http://www.totaltour.ro/en' style='text-decoration:none' title='The most complete accommodation index for Romanian destinations'>Accommodation in Romania</a></b>
  </td>
</tr>
<tr>
  <td>
    <a href="http://www.mozdev.org" title="mozdev.org - free project hosting for the mozilla community"><img src="http://www.mozdev.org/sharedimages/mozdev37.png" width="125" height="37" alt="mozdev.org" border="0"></a>
  </td>
  <td>
    <p id="mozdev-feedback">
    For questions or comments about the Converter, please send a message to the 
<a href="http://www.mozdev.org/mailman/listinfo/converter">Converter mailing list</a>.<br>
    <!-- For general site related questions or comments, -->
    For other questions or comments <em>not</em> about this specific project,
    please read the mozdev.org <a href="http://www.mozdev.org/feedback.html">feedback</a> page.<br>    
    <a href="http://www.mozdev.org/copyright.html">Copyright</a> &copy; 2008. All rights reserved.
    </p>
  </td>
</tr>
</table>
</body>
</html>
